﻿<%@ Page Title="" Language="C#" MasterPageFile="~/TimKenSite.Master" AutoEventWireup="true"
    CodeBehind="Culture.aspx.cs" Inherits="TimKen.Web.Culture" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link href="Common/Style/common.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript">
        $(function () {
            $(".nav_li").hover(function () {//鼠标放上去时候的效果
                $(this).children("a").addClass("navon"); //鼠标放上去的加上高亮
                $(this).children("div").show(); //鼠标放上去的二级栏目出来
                $(this).siblings().children("a").removeClass("navon"); //其他的高亮取消
                $(".common_search_tk").css("position", "static");
                $(".common_search_tkicon").hide();
            }, function () {//鼠标移开时候的效果
                $(this).children("a").removeClass("navon"); //鼠标移开去掉高亮
                $(this).children("div").hide(); //鼠标移开隐藏二级栏目
                $(".common_search_tk").css("position", "relative");
                $(".common_search_tkicon").show();
                $(".nav_li:eq(1)").children("a").addClass("navon"); //回到当前栏目高亮
            });
        });
        $(document).ready(function () {
            $(".nav_li:eq(1)").children("a").addClass("navon").parent().siblings().children("a").removeClass();
            $(".left_nav ul li:eq(2)").children("a").addClass("left_navon"); //左侧导航，当前栏目高亮	
        });
        window.onload = function () { for (var ii = 0; ii < document.links.length; ii++) document.links[ii].onfocus = function () { this.blur() } }	
    </script>
    <script type="text/javascript" src="Common/Script/js/jquery.fxMarquee.js"></script>
    <script type="text/javascript">
        $(function () {
            $(".culture_scroll").fxMarquee({ direction: 'up' }, { object: ".culture_down", type: 'up' }, { object: ".culture_up", type: 'back' });
        });
        function change(obj) {
            document.getElementById("cultureImg").src = "" + obj;
        }
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Title" runat="server">
    <div class="left_nav">
        <ul>
            <li><a href="Company.aspx"><%=GetLangString("MenuCompany")%></a></li>
            <li><a href="News.aspx"><%=GetLangString("MenuCompanyInfo")%></a></li>
            <li><a href="Culture.aspx"><%=GetLangString("MenuCompanCulture")%></a></li>
        </ul>
    </div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="body" runat="server">
    <div class="company_news common_border">
        <ul class="common_page">
            <%= GetLangString("Currentposition") %>：<a href="Index.aspx"><%=GetLangString("MenuHome")%></a>/<a href="Culture.aspx"><%=GetLangString("MenuCompanCulture")%></a>
        </ul>
        <div class="culture">
            <h1>
                <%=GetLangString("MenuCompanCulture")%></h1>
            <div class="companyculture fix">
                <ul class="cultureimg floatleft">
                    <img style="width: 530px; height: 303px" id="cultureImg" src="Common/Image/common/culture/c_culture.jpg">
                </ul>
                <ul class="culture_small floatright">
                    <div class="culture_up" id="gotop">
                    </div>
                    <div class="culture_scroll">
                        <ul>
                            <%
                                foreach (string path in imagepaths)
                                { 
                            %>
                                    <li><img src='<%=path%>' width="118" height="81" border="0" class="thumb_img"  onclick="change('<%=path%>')"/></li>
                            <%} %>
                        </ul>
                    </div>
                    <div class="culture_down" id="gobottom">
                    </div>
                </ul>
            </div>
            <div class="clear"></div>
            <div class="culturetxt">
                <%=Content %>
            </div>
        </div>
    </div>
</asp:Content>
